<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn" class="cn">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="keywords" content="<%#= pc_meta_keywords%>">
        <meta name="description" content="<%#= pc_meta_description%>">
        <title><%#= pc_title %></title>
		<%= javascript_include_tag :defaults%>
        <%= javascript_include_tag "jquery-1.7.1.min"%>
        <%= javascript_include_tag "jquery.wookmark"%>
        <%= stylesheet_link_tag "common"%>
		<%= stylesheet_link_tag "pin"%>
		<%= stylesheet_link_tag "about"%>
		<% if params[:controller] == "user" && params[:action] == "signup"%>
		<%= stylesheet_link_tag "signup.css"%>
		<% end%>
    </head>
    <body>
    	<script>
    		jQuery.noConflict();
			
    		jQuery(document).ready(function(){
				ScrollToTop.setup();
				jQuery("#menu_bar > li").bind("mouseover", function(){
					jQuery(this).children('ul').show();
				}).bind("mouseleave", function(){
					jQuery(this).children('ul').hide();
				});
				
				jQuery("#navigation > li.submenu").bind("mouseover", function(){
					jQuery(this).children('ul').show();
				}).bind("mouseleave", function(){
					jQuery(this).children('ul').hide();
				});
			});
    	</script>
        <div id="top">
            <%= render :partial => "layouts/header"%>
        </div>
        <div id="wrapper" style="opacity: 1; visibility: visible;">
            <%= yield%>
        </div>
        <script type="text/javascript">gotop();</script>
		<!--<button id="ScrollToTop" class="Button WhiteButton Indicator" type="button">顶回部到</button>-->
    </body>
</html>
